package com.cqie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 不吃海鲜
 * @since 2024-12-04
 */
@Getter
@Setter
@TableName("medical_drug_info")
@ApiModel(value = "MedicalDrugInfo对象", description = "")
public class MedicalDrugInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("药品信息id")
    @TableId(value = "drug_id", type = IdType.AUTO)
    private Integer drugId;

    @ApiModelProperty("药品编号")
    @TableField("drug_code")
    private String drugCode;

    @ApiModelProperty("药品名称")
    @TableField("drug_name")
    private String drugName;

    @ApiModelProperty("药品图片")
    @TableField("drug_photo")
    private String drugPhoto;

    @ApiModelProperty("药品类别")
    @TableField("drug_type")
    private String drugType;

    @ApiModelProperty("药品功效")
    @TableField("drug_effect")
    private String drugEffect;

    @ApiModelProperty("药品副作用")
    @TableField("drug_side_effect")
    private String drugSideEffect;

    @ApiModelProperty("药品保质期")
    @TableField("drug_expiration_date")
    private String drugExpirationDate;

    @ApiModelProperty("药品禁忌")
    @TableField("drug_taboo")
    private String drugTaboo;

    @ApiModelProperty("药品用法用量")
    @TableField("drug_dosage")
    private String drugDosage;

    @ApiModelProperty("特效药标志")
    @TableField("drug_specific_sign")
    private String drugSpecificSign;

    @ApiModelProperty("药品生产厂家")
    @TableField("drug_factory")
    private String drugFactory;

    @ApiModelProperty("药品品牌")
    @TableField("drug_brand")
    private String drugBrand;

    @ApiModelProperty("药品权重")
    @TableField("drug_weight")
    private String drugWeight;

    @ApiModelProperty("药品单价")
    @TableField("drug_price")
    private BigDecimal drugPrice;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty("作废标志")
    @TableField("rm_sign")
    private String rmSign;
}
